package com.tangcco.lockwell.viewmodel.admin.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserGroupVm {
    private Integer pageIndex;
    private Integer pageSize;
    private Integer userId;

    private String userUuid;

    private Integer groupId;
    private String groupName;
    //选择（购买）学科
    private String optSubject;
    /**
     * 用户名
     */
    private String userName;

    private String password;

    /**
     * 真实姓名
     */
    private String realName;

    private Integer age;

    /**
     * 1.男 2女
     */
    private Integer sex;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date birthDay;

    /**
     * 学生年级(1-12)
     */
    private Integer userLevel;

    private String phone;

    /**
     * 1.学生  3.管理员
     */
    private Integer role;

    /**
     * 1.启用 2禁用
     */
    private Integer status;

    /**
     * 头像地址
     */
    private String imagePath;

    private String createTime;

    private String modifyTime;

    private String lastActiveTime;

    /**
     * 是否删除
     */
    private int deleted;

    /**
     * 微信openId
     */
    private String wxOpenId;

    //积分
    private Integer integral;
    //专业方向外键链接数据字典
    private Integer professionalDirection;
    //目标院校
    private String targetUniversity;
    //目标专业
    private String targetMajor;

    //是否允许老师监督学习（0-不允许，1允许）
    private  Integer supervision;

    private String token;

}
